
import { defineStore } from 'pinia'
import { ref } from 'vue'

export const useMenuStore = defineStore("menu", () => {
    // 当前选中目录
    const activeIndex = ref('01')
    // 标签数组
    const editableTabs = ref([])
    //当前标签序号
    const editableTabsValue = ref('01')
    // 是否收缩
    const isCollapse = ref(false)
    // state
    const menuList = ref([])

// actions
    function setLoca() {
     
    }


    return {
        menuList,
        isCollapse,
        editableTabs,
        activeIndex,
        editableTabsValue
    }
})